package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the USER_TEMPORAL database table.
 * 
 */
//@Entity
//@Table(name="USER_TEMPORAL")
public class UserTemporal implements Serializable {
	private static final long serialVersionUID = 1L;
	private String apeMat;
	private String apePat;
	private BigDecimal cuentaId;
	private String juris;
	private String nombres;
	private BigDecimal peNatuId;
	private BigDecimal saldo;
	private String tiPers;
	private Date tsCrea;
	private Date tsUltAcc;
	private String usrCrea;
	private String usrId;

    public UserTemporal() {
    }


	@Column(name="APE_MAT", length=30)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", nullable=false, length=30)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


	@Column(name="CUENTA_ID", nullable=false)
	public BigDecimal getCuentaId() {
		return this.cuentaId;
	}

	public void setCuentaId(BigDecimal cuentaId) {
		this.cuentaId = cuentaId;
	}


	@Column(nullable=false, length=30)
	public String getJuris() {
		return this.juris;
	}

	public void setJuris(String juris) {
		this.juris = juris;
	}


	@Column(nullable=false, length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="PE_NATU_ID", nullable=false)
	public BigDecimal getPeNatuId() {
		return this.peNatuId;
	}

	public void setPeNatuId(BigDecimal peNatuId) {
		this.peNatuId = peNatuId;
	}


	@Column(nullable=false, precision=12, scale=2)
	public BigDecimal getSaldo() {
		return this.saldo;
	}

	public void setSaldo(BigDecimal saldo) {
		this.saldo = saldo;
	}


	@Column(name="TI_PERS", length=1)
	public String getTiPers() {
		return this.tiPers;
	}

	public void setTiPers(String tiPers) {
		this.tiPers = tiPers;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA", nullable=false)
	public Date getTsCrea() {
		return this.tsCrea;
	}

	public void setTsCrea(Date tsCrea) {
		this.tsCrea = tsCrea;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_ACC", nullable=false)
	public Date getTsUltAcc() {
		return this.tsUltAcc;
	}

	public void setTsUltAcc(Date tsUltAcc) {
		this.tsUltAcc = tsUltAcc;
	}


	@Column(name="USR_CREA", length=15)
	public String getUsrCrea() {
		return this.usrCrea;
	}

	public void setUsrCrea(String usrCrea) {
		this.usrCrea = usrCrea;
	}


	@Column(name="USR_ID", nullable=false, length=15)
	public String getUsrId() {
		return this.usrId;
	}

	public void setUsrId(String usrId) {
		this.usrId = usrId;
	}

}